#include "Point.h"

namespace core
{

Point::Point( int x, int y ) : X( x ), Y( y )
{
}

Point::Point( const Point& orig ) : X( orig.X ), Y( orig.Y )
{
}

Point Point::operator +=(const Point& pos )
{
	X += pos.X;
	Y += pos.Y;
	return *this;
}

Point Point::operator -=(const Point& pos )
{
	X -= pos.X;
	Y -= pos.Y;
	return *this;
}
}
